package com.javastar.common.exception;

/**
 * 抛出自定义异常工具类
 *
 * @author zxx
 * @date 2023/7/24
 */
public class AssertUtil {
    public static void error(ErrorCode errorCode) {
        throw new NovelException(errorCode);
    }
}
